package com.qiuzhi.spring.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.zip.Deflater;

@Retention(RetentionPolicy.RUNTIME)//在运行时保留
@Target({ElementType.METHOD, ElementType.FIELD})//能放在方法和字段上
public @interface Autowired {

    boolean required() default true;
}
